<?php
include_once(dirname(__FILE__) . "/../inc/common.php");


$flowClass = new tally_flow();
$flowClass->removeFlowByUserId($userId);

$flowTypeClass = new tally_flowType();
$flowTypeClass->removeFlowTypeByUserId($userId);

$tagClass = new tally_tag();
$tagClass->removeTagByUserId($userId);

$accountClass = new tally_account();
$accountClass->removeAccountByUserId($userId);

$result = array(
    "returnCode" => 0,
    "returnMsg" => "清除成功",
);

$jsonHandle = new ext_jsonHandle();
$jsonHandle->jsonOut($result);
exit();

?>